/**
 * @author cwoodard
 */

// master data structure 
var floristsAndCollections = new Array();
 
function getFloristsAndCollectionsForBranch( branch_id )
{
    dojo.xhrGet( {
        url:'/index/floristsandcollections/branch_id/'+branch_id,
        handleAs: 'json',
        load: function(florists) {
			floristsAndCollections = florists;
        }
    } );
}

function loadMenusList()
{
	var floristDropdown = document.getElementById('florist');
	var collectionDropDown = document.getElementById('collection');
	
	// 1. get selected caterer's idx
	// 2. find caterer row in caterersAndMenus
	// 3. grab menus from that row
	// 4. replace existing data items in 'menuDropDown' with menus.  item string
	//    composed of name/price/units
}
